package com.itheima.manager;

import com.itheima.common.ResultData;
import com.itheima.domain.UmsMemberLevel;
import com.itheima.service.UmsMemberLevelService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class UmsMemberLevelManager {

    @DubboReference
    private UmsMemberLevelService umsMemberLevelService;

    public List<UmsMemberLevel> list(Integer defaultStatus) {
        List<UmsMemberLevel> list = umsMemberLevelService.list(defaultStatus);
        return list;
    }
}
